<div id="point_<%= point.id %>_quality">
<% if quality %>

	<% if quality.is_helpful? %>
		<span class="tag_button" id="point_helpful_<%= point.id.to_s %>">
			<%= t('helpful.caps')%>  
			<%= link_to_remote "&nbsp;x", { :url => unquality_point_path(point, :region => "point_inline") }, :class => "quality_remove", :title => t('helpful.delete.title') %>
		</span>
	<% else %>
		<span class="tag_button" id="point_helpful_<%= point.id.to_s %>">
			<%= t('unhelpful.caps')%> 
			<%= link_to_remote "&nbsp;x", { :url => unquality_point_path(point, :region => "point_inline") }, :class => "quality_remove", :title => t('unhelpful.delete.title') %>
		</span>	
	<% end %>

<% end %>

<%= render :partial => "points/helpful_count", :locals => {:point => point} %>

<% if not quality and logged_in? %>
	<%= t('helpful.question')%>
	<span class="tag_button" id="priority_add_<%= point.id.to_s %>">
		<%= link_to_remote t('doit'), { :url => quality_point_path(point, :region => "point_inline", :value => true), :loading=>"update('#{t('helpful.ing')}')" }, :class => "quality_helpful_link", :title => t('helpful.title') %></span>
		
	<span class="or"><%= t('or') %></span>

	<span class="tag_button" id="priority_add_<%= point.id.to_s %>">
		<%= link_to_remote t('dont'), { :url => quality_point_path(point, :region => "point_inline", :value => false), :loading=>"update('#{t('unhelpful.ing')}')" }, :class => "quality_unhelpful_link", :title => t('unhelpful.title') %>		
	</span>	
<% end %>
</div>